<html>
  <head>
    <title>IUserContext</title>
    <link rel='stylesheet' type='text/css' href='../../../stylesheet.css' title='Style' />
  </head>
  <body>
    <table border='0' width='100%' cellpadding='1' cellspacing='0' summary=''>
      <tr>
        <td colspan='2' bgcolor='#EEEEFF' class='NavBarCell1'>
          <table border='0' cellpadding='0' cellspacing='3' summary=''>
            <tr align='center' valign='top'>
              <td bgcolor='#EEEEFF' class='NavBarCell1'>
                <a href='../../../overview-summary.html'>
                  <font class='NavBarFont1'>
                    <b>Overview</b>
                  </font>
                </a>&nbsp;
              </td>
              <td bgcolor='#EEEEFF' class='NavBarCell1'>
                <a href='package-summary.html'>
                  <font class='NavBarFont1'>
                    <b>Package</b>
                  </font>
                </a>&nbsp;
              </td>
              <td bgcolor='#FFFFFF' class='NavBarCell1Rev'>
                <font class='NavBarFont1Rev'>
                  <b>Unit</b>
                </font>&nbsp;
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    <hr />
    <h2>
      <font size='-1'>OpenEdge\CommonInfrastructure\Common</font>
      <br />INTERFACE IUserContext
    </h2>
    <p>INTERFACE OpenEdge.CommonInfrastructure.Common.IUserContext </p>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
				<A NAME="property_summary"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
				<B>Property Summary</B></FONT></TH>
				</TR>
				
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>HANDLE</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.ClientPrincipal'>ClientPrincipal</a>
          </b> PUBLIC GET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ABL CLIENT-PRINCIPAL object for pertaining to this context
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>LONGCHAR</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.ContextId'>ContextId</a>
          </b> PUBLIC GET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unique identifier for the client session
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code><a href="../../../OpenEdge/Lang/Collections/IMap.cls.html" title="OpenEdge.Lang.Collections.IMap" target="classFrame">IMap</a></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.TenantId'>TenantId</a>
          </b> PUBLIC GET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A collection of tenant Ids for this User.
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>CHARACTER</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.TenantName'>TenantName</a>
          </b> PUBLIC GET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The tenant to whom this user belongs
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>CHARACTER</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.UserDomain'>UserDomain</a>
          </b> PUBLIC GET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;domain of the user to whom this context applies
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>CHARACTER</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.UserName'>UserName</a>
          </b> PUBLIC GET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name of the user to whom this context applies
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code><a href="../../../OpenEdge/Lang/Collections/IMap.cls.html" title="OpenEdge.Lang.Collections.IMap" target="classFrame">IMap</a></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.UserProperties'>UserProperties</a>
          </b> PUBLIC GET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A collection of properties associated with this context. These
      </td>
    </tr>
				</TABLE>&nbsp;<P>
				
				<A NAME="method_summary"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
				<B>Method Summary</B></FONT></TH>
				</TR>
				
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#establishtenancy(openedge.commoninfrastructure.common.itenantmanager)'> EstablishTenancy</a>
          </b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ITenantManager.cls.html" title="OpenEdge.CommonInfrastructure.Common.ITenantManager" target="classFrame">ITenantManager</a> poTenantManager)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets up the user's tenancy (including the tenant name and id map).
      </td>
    </tr>
				</TABLE>&nbsp;<P>
				
				<A NAME="property_detail"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
				<B>Property Detail</B></FONT></TH>
				</TR></TABLE>
				
    <a name='property.ClientPrincipal'><!-- --></a>
    <h3>ClientPrincipal</h3>
    <code>HANDLE PUBLIC GET </code>
    <dl>
      <dd>ABL CLIENT-PRINCIPAL object for pertaining to this context <p> </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='property.ContextId'><!-- --></a>
    <h3>ContextId</h3>
    <code>LONGCHAR PUBLIC GET </code>
    <dl>
      <dd>Unique identifier for the client session <p> </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='property.TenantId'><!-- --></a>
    <h3>TenantId</h3>
    <code><a href="../../../OpenEdge/Lang/Collections/IMap.cls.html" title="OpenEdge.Lang.Collections.IMap" target="classFrame">IMap</a> PUBLIC GET </code>
    <dl>
      <dd>A collection of tenant Ids for this User. <p> </dd>
      <dd>key   = Logical DB Name value = TenantId </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='property.TenantName'><!-- --></a>
    <h3>TenantName</h3>
    <code>CHARACTER PUBLIC GET </code>
    <dl>
      <dd>The tenant to whom this user belongs <p> </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='property.UserDomain'><!-- --></a>
    <h3>UserDomain</h3>
    <code>CHARACTER PUBLIC GET </code>
    <dl>
      <dd>domain of the user to whom this context applies <p> </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='property.UserName'><!-- --></a>
    <h3>UserName</h3>
    <code>CHARACTER PUBLIC GET </code>
    <dl>
      <dd>name of the user to whom this context applies <p> </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='property.UserProperties'><!-- --></a>
    <h3>UserProperties</h3>
    <code><a href="../../../OpenEdge/Lang/Collections/IMap.cls.html" title="OpenEdge.Lang.Collections.IMap" target="classFrame">IMap</a> PUBLIC GET </code>
    <dl>
      <dd>A collection of properties associated with this context. These <p> </dd>
      <dd>can be any key/value set of objects (key and value types should be serialisable). </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
				<A NAME="method_detail"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
				<B>Method Detail</B></FONT></TH>
				</TR></TABLE>
				
    <a name='establishtenancy(openedge.commoninfrastructure.common.itenantmanager)'><!-- --></a>
    <h3>EstablishTenancy</h3>
    <code>PUBLIC  VOID
      <b>EstablishTenancy</b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ITenantManager.cls.html" title="OpenEdge.CommonInfrastructure.Common.ITenantManager" target="classFrame">ITenantManager</a> poTenantManager)
    </code>
    <dl>
      <dd>Sets up the user's tenancy (including the tenant name and id map). <p> </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Parameters:</b>
          </dt>
          <dd>ITenantManager - The session's tenant manager.<br/></dd>
        </dl>
      </dd>
    </dl>
    <hr />
  </body>
</html>